/*
 * Created on Jan 16, 2006
 *
 */
package dbsucxentW;

import dbsucxentW.storageEdgeW.loadersW.XmlShredder;
import dbsucxentW.storageEdgeW.loadersW.relationalW.ThreadedRelationalXmlShredder;
import java.sql.Connection;

/**
 * @author Seah Boon Siew
 */
//calls the Edge Shredder to do the work

public class EdgeShredder {
//klarinda 20060905 include _dbName
	//public EdgeShredder(String name, Connection dbConnection) throws Exception{
	public EdgeShredder(String name, Connection dbConnection, String dbName) throws Exception{
      	//XmlShredder shredder = new ThreadedRelationalXmlShredder(  name, dbConnection );
		XmlShredder shredder = new ThreadedRelationalXmlShredder(  name, dbConnection, dbName );
    	shredder.shred();

	}
	
}
